package main

import (
	"kongyixueyuan.com/MyPublicChain/part24-persistence-cli/BLC"
)

func main()  {

	// 创世区块
	blockchain := BLC.CreateBlockchainWithGenesisBlock()

	defer blockchain.DB.Close()

	cli := BLC.CLI{blockchain}

	cli.Run()
}
